package config

import "github.com/zeromicro/go-zero/rest"

type Config struct {
	rest.RestConf
	MiniApp miniApp
	WxPay   wxPay
	LsPay   LsPay
	Mysql   struct {
		DataSource string
	}
}

type miniApp struct {
	AppID  string
	Secret string
	Debug  bool
	Log    string
}

type LsPay struct {
	MchNo  string
	AppId  string
	PayKey string
}

type wxPay struct {
	SpAppid                    string
	SpMchID                    string // 商户号
	MchCertificateSerialNumber string // 商户证书序列号
	MchAPIv3Key                string // 商户APIv3密钥
	MchPrivateKey              string //证书私钥
}
